package com.bnyy.message.bean.chat.message_data;

import com.bnyy.message.bean.Message;
import com.bnyy.message.enums.MessageType;
import com.google.gson.JsonObject;

import org.xutils.db.annotation.Column;

import java.io.Serializable;

/**
 * Author : 关炳鹏
 * Description :
 * Date : 2022/12/6
 **/
public class MessageData implements Serializable {

    @Column(name = Message.ColumnName.MSG_ID, isId = true)
    private String msgId;

    public MessageData() {
    }

    public MessageData(String msgId) {
        this.msgId = msgId;
    }

    public MessageData(String msgId, JsonObject jsonObject) {
        this.msgId = msgId;
    }

    public String getMsgId() {
        return msgId;
    }

    public void setMsgId(String msgId) {
        this.msgId = msgId;
    }

    public MessageType getMessageType(){
        return MessageType.UNKNOWN;
    }
}
